﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<IPagedList<JLL.China.Infrastructure.Repositories.LINQ2SQL.MemberGroup>>" %>
<%@ Import Namespace="JLL.China.Infrastructure.Services" %>

        <input type="hidden" name="redirect" value="admins/index" />
        <table border="0" width="100%" cellpadding="0" cellspacing="0" id="product-table">
            <tr>
              <%--  <th class="table-header-check">
                    <a id="toggle-all"></a>
                </th>--%>
                <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Group ID</a>
                </th>
                <th class="table-header-repeat line-left minwidth-1">
                    <a href="">Group Name</a>
                </th>
               
                <th class="table-header-options line-left">
                    <a href="">Options</a>
                </th>
            </tr>
            <% foreach (var group in Model)
               { 
            %>
            <tr>
               <%-- <td align="center">
                    <input name="selected" id="selected" type="checkbox" value="<%=group.MemberGroup_ID %>" />
                </td>--%>
                <td>
                    <%= group.MemberGroup_ID %>
                </td>
                <td>
                   
                    <%=group.GroupName %>
                </td>
               
                <td class="options-width">
                    <div>
                <%--    <%= Html.ActionLink(" ", "EditMemberGroup", new { id = group.MemberGroup_ID }, new { @title = "View / Edit", @class = "icon-1 info-tooltip" })%>--%>
                    <%--<%= Html.ActionLink(" ", "DeleteMemberGroup", new { id = group.MemberGroup_ID }, new { @title = "Delete", @class = "icon-2 info-tooltip remove-btn-member-group" })%>--%><a href="<%=Url.Content("~/")%><%=ViewData["now_controller"]%>EditMemberGroup/<%=group.MemberGroup_ID%>"
                            title="View / Edit" class="info-tooltip"><img id="detail-icon-img" src="<%=Url.Content("~/Content/images/")%>File_edit.png"  style="width: 25px; margin-left: 4px;"/></a>
                    </div>
                </td>
            </tr>
            <%} %>
        </table>
        <!--  end product-table................................... -->
        
        <!--  start actions-box ............................................... -->
       <%--<div id="actions-box">
             <a href="" class="iconaction icon-cog"> </a>
            <a href="" class="action-slider"></a>
            <div id="actions-box-slider">
                 <a class="iconaction icon-trash "> </a>
                 <%= Html.ActionLink("Delete", "BulkProcess", new { status = "remove" }, new { @title = "Delete selected", @class = "action-edit  action-invoke-removed  info-tooltip " })%>
            </div>
            <div class="clear">
            </div>
        </div>--%>
        <!-- end actions-box........... -->
          
        <!--  start paging..................................................... -->
        <table border="0" cellpadding="0" cellspacing="0" id="paging-table">
            <tr>
                <td class="page-cell">
                    <div class="pager">
                        <%Html.RenderPartial("PerPageMemberGroup", ViewData);%>
                        <%= Html.Pager(ViewData.Model.PageSize, ViewData.Model.PageNumber, ViewData.Model.TotalItemCount) %>
                    </div>
                </td>
                <td>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td>
                  
                </td>
            </tr>
        </table>
        <!--  end paging................ -->
        <div class="clear">
        </div>
   
